<script setup lang="ts">
import { onMounted } from 'vue';
import Aside from '@/components/main/Aside.vue'
import Header from '@/components/main/Header.vue'


onMounted(()=>{
 
})
</script>

<template>
  <div class="common-layout">
    <el-container>
      <Aside />
      <el-container class="mainlayout">
        <Header />
        <el-main class="main">
          <RouterView/>
        </el-main>
      </el-container>
    </el-container>


    <!-- <el-container>
      <el-aside width="200px">Aside</el-aside>
      <el-container>
        <el-header>Header</el-header>
        <el-main>Main</el-main>
      </el-container>
    </el-container> -->

  </div>
</template>
<style scoped lang="scss">
.common-layout{
  width: 100vw;
  height: 100vh;
  // overflow: hidden;
  background-color: white;
  .mainlayout{
    display: flex;
    flex-direction: column;
  }
}
</style>